package com.ourteam.product.requirement.domain;
/**
 * Template Name : 枚举对象模板 Template Version : 1 Template Last Modfiy Date : Fri Sep 07 11:43:21 CST
 * 2018 Auto Generate Date : 2018-12-11 15:24:52 Warning ! This file will be overwrite when
 * regenerate !
 */
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.enums.Enum;

public class ProductRequirementRelateTypeEnum extends Enum {

  private String desc;

  protected ProductRequirementRelateTypeEnum(String arg0, String aDesc) {
    super(arg0);
    desc = aDesc;
    enumValueMap.put(arg0, this);
  }

  public String getDesc() {
    return desc;
  }

  private static Map<String, ProductRequirementRelateTypeEnum> enumValueMap =
      new HashMap<String, ProductRequirementRelateTypeEnum>();

  public static ProductRequirementRelateTypeEnum getEnum(String arg0) {
    return (ProductRequirementRelateTypeEnum) enumValueMap.get(arg0);
  }

  public static Collection<ProductRequirementRelateTypeEnum> getEnumList() {
    return enumValueMap.values();
  }

  /** 受到影响 */
  public static final ProductRequirementRelateTypeEnum AFFECTED_BY =
      new ProductRequirementRelateTypeEnum("$property.defaultValue", "受到影响");

  /** 影响到 */
  public static final ProductRequirementRelateTypeEnum AFFECTED_TO =
      new ProductRequirementRelateTypeEnum("$property.defaultValue", "影响到");
}
